package web;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;

import model.*;

public class ListBranch extends HttpServlet
{
  
  public void doGet(HttpServletRequest request,
                    HttpServletResponse response)
  throws IOException, ServletException
  {
    String branchName = request.getParameter("branchName");
    BranchStatus b = new BranchStatus(branchName);
    request.setAttribute("branch", b);
    
    RequestDispatcher view = request.getRequestDispatcher("index.jsp");
    view.forward(request, response);
  }
  
}
